import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'

import Vant from 'vant' // 引入vant
import 'vant/lib/index.css' // 引入vant
import './assets/iconfont.css' // 引入字体图标
import 'amfe-flexible' // 屏幕适配 npm i -S amfe-flexible
import 'normalize.css' // 抹平浏览器差异 npm install normalize.css
// 识别px再以rem渲染到浏览器上 根目录新建vue.config.js文件, npm install postcss-pxtorem --save-dev

Vue.use(Vant) // 引入vant

Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
